﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommunityToolkit.Mvvm.ComponentModel;
using ModbusLib.Base;

namespace 多协议通信平台.Entity
{
    [Table("Data_ModbusPoint")]
    public partial class Data_ModbusPoint
    {
        [Key]
        public int NodeID { get; set; }
        [AllowNull] 
        public string IP {  get; set; }
        [AllowNull]
        public int? Port { get; set; }
        public int SlaveId { get; set; }
        [AllowNull]
        public string ComPort { get; set; }
        public bool IsBaseOne { get; set; }
        public string Address {  get; set; }
        public string DataType { get; set; }
        public EndianType EndianType { get; set; }
    }
}
